package service;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.ModuloSistemaDAO;
import entity.ModuloSistema;

@Service
public class PermissaoFuncionalidadeServiceImpl extends BaseService implements
		PermissaoFuncionalidadeService, Serializable {

	private static final long serialVersionUID = -8754416176752850943L;

	@Autowired
	private ModuloSistemaDAO moduloSistemaDAO;

	public ModuloSistemaDAO getModuloSistemaDAO() {
		return moduloSistemaDAO;
	}

	@Override
	public ModuloSistema criarNovoModuloSistema() {
		final ModuloSistema moduloSistema = new ModuloSistema();

		return moduloSistema;
	}

	@Override
	public List<ModuloSistema> listarTodosModulosSistema() {
		return moduloSistemaDAO.buscarTodos();
	}

	@Override
	public List<ModuloSistema> listarModulosSistemaAtivos() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ModuloSistema buscarModuloSistemaPorChave(Long id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void removerModuloSistema(ModuloSistema moduloSistema) {
		// TODO Auto-generated method stub

	}

	@Override
	public void salvarModuloSistema(ModuloSistema moduloSistema) {
		// TODO Auto-generated method stub

	}

}
